added samples
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2010 / CSSL4SessionCookie / CSSL4SessionCookie.Web / Web.Debug.config
blob1079a744bfd7a73c4f11c1a5ec0a001afb715093
1 <?xml version="1.0"?>
3 <!--
4 /****************************** Module Header ******************************\
5 * Module Name:  Web.Debug.config
6 * Project: CSSL4SessionCookie
7 * Copyright (c) Microsoft Corporation.
9 This is a machine generated debug version of web.config for the sample web site, and has not been modified from its original form.
11 * This source is subject to the Microsoft Public License.
12 * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
13 * All other rights reserved.
15 * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
16 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
17 * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
18 \***************************************************************************/
19 -->
22 <!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
24 <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
25   <!--
26     In the example below, the "SetAttributes" transform will change the value of 
27     "connectionString" to use "ReleaseSQLServer" only when the "Match" locator 
28     finds an atrribute "name" that has a value of "MyDB".
29     
30     <connectionStrings>
31       <add name="MyDB" 
32         connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" 
33         xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
34     </connectionStrings>
35   -->
36   <system.web>
37     <!--
38       In the example below, the "Replace" transform will replace the entire 
39       <customErrors> section of your web.config file.
40       Note that because there is only one customErrors section under the 
41       <system.web> node, there is no need to use the "xdt:Locator" attribute.
42       
43       <customErrors defaultRedirect="GenericError.htm"
44         mode="RemoteOnly" xdt:Transform="Replace">
45         <error statusCode="500" redirect="InternalError.htm"/>
46       </customErrors>
47     -->
48   </system.web>
49 </configuration>